﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SiteMasterTest
{
    public partial class Default : System.Web.UI.Page
    {
        protected PageController PageCtrlr;

        protected void Page_Load(object sender, EventArgs e)
        {
            PageCtrlr = new PageController();
        }

        protected void LoginButton_Click(object sender, ImageClickEventArgs e)
        {
            PageCtrlr.CurrentUser = LoginTextbox.Text;
            Response.Redirect("MediaSelect.aspx?Username=" + this.LoginTextbox.Text + "&Password=" + this.PasswordTextbox.Text);
        }
    }
}